<!DOCTYPE html>
<!-- saved from url=(0047)http://www.siyecaifu.com/member/pm.php?job=list -->
<html lang="zh_CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!--
-->


<meta name="viewport"
	content="width=device-width, initial-scale=1; maximum-scale=1.0; user-scalable=no;">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>会员操作平台</title>
<link rel="stylesheet" type="text/css" href="/static/back_files/base.css">
<style>
/**右外边距适当调小***/
.guide {
	margin: 0 2px 10px 0;
}

.MainCont {
	margin: 0 2px 10px 0;
}

body .Notes {
	margin: 0 2px 15px 0;
}
</style>
<script language="JavaScript" src="/static/back_files/default.js"></script>
</head>
<body>
	<script language="JavaScript" src="/static/back_files/jquery-1.2.6.min.js"></script>
	<script language="JavaScript" src="/static/back_files/blue.js"></script>
	<script type="text/javascript" src="/static/back_files/editor_config.php"></script>
	<script type="text/javascript" src="/static/back_files/editor_all.js"></script>
	<link rel="stylesheet" type="text/css" href="/static/back_files/ueditor.css">
	<script language="JavaScript">
function killErr(){
	return true;
}
window.onerror=killErr;
</script>
	<style>
.tag1 {
	font-size: 16px;
	font-weight: bold;
	border: 1px solid #999;
	border-radius: 5px;
	padding: 5px 10px;
	background: #5BA8FA;
	color: #fff;
	line-height: 35px;
	width: 200px;
	height: 35px;
	text-align: center;
	text-shadow: 5px 5px 10px #ddd;
	margin: 10px;
}
</style>
	<!---->
	<div class="guide">
		<!---->
		[<a href="/boss/get_ad_list?page=1" target="">列表</a>]
		<!---->
		[<a href="/boss/add_ad" target="">添加</a>]
	</div>
	<!--<div class="search">
	 项目类型项目类型 1.新三板 2.私募管理3.天幕基金4天幕股权5投资百科6天幕学院 
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	    <select style="border-radius: 5px; height: 35px;" id="project_style">
	    <option value="0" >--请选择--</option>
	    <option value="1" <?php if($project_style==1){?>selected="selected"<?php }?>>新三板</option>
	    <option value="2" <?php if($project_style==2){?>selected="selected"<?php }?>>私募管理</option>
	    <option value="3" <?php if($project_style==3){?>selected="selected"<?php }?>>天幕基金</option>
	    <option value="4" <?php if($project_style==4){?>selected="selected"<?php }?>>天幕股权</option>
	    <option value="5" <?php if($project_style==5){?>selected="selected"<?php }?>>投资百科</option>
	    <option value="6" <?php if($project_style==6){?>selected="selected"<?php }?>>天幕学院</option>
	    </select>
		<input style="border-radius: 5px; height: 35px;" id="title"><span class="tag1" onclick="search()">搜索</span>
	</div>-->
	<!---->
	﻿
	<!--
-->
	<div class="MainCont mtop10">
		<div class="head">
			<div class="tag">广告管理</div>
		</div>
		<div class="cont">
			<table width="100%" border="0" cellspacing="0" cellpadding="0"
				class="ListTable">
				<tbody>
					<tr>
						<th width="8%">id</th>
						<th width="12%">图片</th>
						<th width="10%">位置</th>
						<th width="10%">排序号</th>
						<th width="30%">url</th>
						<th width="10%">操作</th>
					</tr>
					<?php foreach ($adlist as $k=>$v){?>
					<tr>
					<td ><?php echo $v['id']?></td>
					<td ><img src="<?php echo $v['pic']?>" width=50px; height=50px /></td>
					<td ><?php if($v['address']==1){echo "首页横幅1";}
					if($v['address']==2){echo "首页横幅2";}
					if($v['address']==3){echo "首页广告1";}
					if($v['address']==4){echo "首页广告2";}
					
					?></td>
					<td ><?php echo $v['order_num']?></td>
					<td ><?php echo $v['url']?></td>
					<td >
					  <a href="<?php echo $v['pic']?>?>" target="_blank">查看</a>
					  <a href="/boss/edit_ad?id=<?php echo $v['id']?>">编辑</a>
					  <a href="/boss/deletead?id=<?php echo $v['id']?>">删除</a>
					</td>
				</tr>
				<?php }?>
				</tbody>
				
				
			</table>
			<div id="Pagination" class="page">
				<div class="page">
					<a href="/boss/get_ad_list?page=1"><span class="cur firstpage">&lt;&lt;</span></a>
					<a href="/boss/get_ad_list?page=<?php if($page>1){echo $page-1;}else{echo 1;}?>"><span class="cur prev">&lt;</span></a>
					<span class="cur"><?php echo $page;?></span>
					<a href="/boss/get_ad_list?page=<?php if($page>=$page_size){echo $page;}else{echo $page+1;}?>" class="next">&gt;</a>
					<a href="/boss/get_ad_list?page=<?php echo $page_size;?>" class="lastpage">&gt;&gt;</a>
					共<?php echo $page_size;?>页
				</div>
			</div>
		</div>
	</div>
	<!---->
	﻿
	<script language="JavaScript">
	function search(){
		/* project_style = $("#project_style").val();
		title = $("#title").val();
		window.location.href="/boss/get_ad_list?project_style="+project_style+"&title="+title+"&page=1"; */
	}
<!--
function set_class(){
	obj=document.body.getElementsByTagName("input");
	for(var i=0;i< obj.length;i++ ){
		if(obj[i].type=='submit'||obj[i].type=='button'){
			obj[i].className='submit';
		}else if (obj[i].type=='radio'||obj[i].type=='checkbox'){
			obj[i].style.border='0px;';
		}else if(obj[i].type=='text'){
			obj[i].className='input_text';
		}
	}
	obj=document.body.getElementsByTagName("textarea");
	for(var i=0;i< obj.length;i++ ){
		obj[i].className='input_textarea';
	}
	if(document.getElementById("top_menu")!=null)
	{
		obj2=get_obj('top_menu').getElementsByTagName("td");
		for(var i=0;i< obj2.length;i++ ){
			s=obj2[i].innerHTML;
			s=s.replace(/\[|\]/g, "");
			obj2[0].innerHTML=s;	
		}
	}
}
set_class();
clickEdit.init();	//生成一些快速操作按钮
get_cache_button("0");	//生成表单中的数据恢复按钮
function setbodyheight(){
	$(document).ready(function(){
		var height = $(document.body).height();
		if(height<700)height=700;
		window.parent.document.getElementById('win').style.height= height+'px';
	});
}
window.setInterval('setbodyheight()',500);
//-->
</script>

</body>
</html>